<template>
 <div>
    <IpfsUpload @uploaded="handleUpload" />
 </div>
</template>

<script>
import IpfsUpload from 'ipfs-upload-component-vue3';
import {
		notify
	} from "@kyvg/vue3-notification";
export default {
 components: {
    IpfsUpload
 },
 methods: {
    handleUpload(file) {
		notify({
			title: `File uploaded to IPFS ${file}`
		});
      console.log('File uploaded to IPFS:', file);
    }
 }
};
</script>
